package cn.cpy.sms.login.service;

import cn.cpy.sms.login.pojo.param.UserLoginParam;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IPassportService {
    //发短信验证码
    void postSmsCode(String phone);
    //处理注册或登录
    void handleLogin(UserLoginParam loginParam);
    //退出登录
    void logout(String phone);
}
